Skip to content

Complete Queue Tests#9

Open
MicheC28 wants to merge 5 commits intomainfrom
michelle/queue_comp_cocotb
Open

Complete Queue Tests#9
MicheC28 wants to merge 5 commits intomainfrom
michelle/queue_comp_cocotb

Conversation

@MicheC28
Copy link
Copy Markdown

@MicheC28 MicheC28 commented Mar 18, 2026

CocoTb Testbench for Complete Queue.

I tried to follow the structure I saw in the FSM test benches. Let me know if yall want me to change anything.

Test Cases:

  • RESET
  • Multiple AES enqueues and dequeues
  • Multiple SHA enqueues and dequeues
  • Round Robin Enqueue
  • Queue Full
  • Not Ready Dequeues
  • Concurrent Enqueue and Dequeue
  • FIFO Wrap Around

Note: Noticed that first dequeued value is 0, not the first enqueue value. After 1 or more enqueues, valid_out goes high, but data_out isn't updated with enqueue values.
Update: I modified the valid_out signal of the comp_queue module to be driven in sync with the data out. It seems to have fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant